package com.wanxi.test;

import java.util.Arrays;

public class MySystem {
    public static void main(String[] args) {
//        System.exit(0);
        long start = System.currentTimeMillis();
        System.out.println("startTime" + start);
        StringBuilder str = new StringBuilder();
        for (int i = 0; i < 10000; i++) {
            str.append(i);
        }
        long end = System.currentTimeMillis();
        System.out.println("endTime" + end);
        System.out.println(end - start);

        int[] arr = {1, 3, 4, 6, 7, 4, 3, 2, 7, 8, 9};
        int[] array = new int[10];
        System.arraycopy(arr, 2, array, 8, 5);
        System.out.println(Arrays.toString(array));
    }
}
